<template>
	<view class="">
		<view class="top between">
			<view class="select display">
				<view v-for="(item,index) in list1" :class="['select-item',Inv==index?'select-act':'']" @click="click(item,index)">{{item.name}}</view>
				
			</view>
			<view class="display">
				<view class="xueshengbut center align">
					学生版>
				</view>
				<view class="shous">
					<img src="/static/icon/shous.png" alt="" srcset="">
				</view>
			</view>
		</view>
		<view class="top_bot between">
			<view class="top_bot_left">
				推荐
			</view>
			<view class=" display">
				<view class="top_bot_div align center">
					成都
				</view>
				<view class="top_bot_div align center">
					筛选
				</view>
			</view>
		</view>
		<view class="card">
			<view class="card-item" @click="goxiangqing">
				<view class="card-item-top">
					月薪8K+周末双休朝九晚六/社群...
				</view>
				<view class="between card-item-cen">
					<view class="card-item-cen-left">
						1年以内|大专|无责底薪|周末双休
					</view>
					<view class="card-item-cen-right">
						8-10K
					</view>
				</view>
				<view class="between card-item-bot">
					<view class="card-item-bot-left align">
						<img src="/static/gongshi.png" alt="" srcset="">
						九创汇英
					</view>
					<view class="card-item-bot-right">
						武候区 磨子桥
					</view>
				</view>
			</view>
			
			<view class="card-item">
				<view class="card-item-top">
					早9晚6/运营助理/月入1w/社保/住...
				</view>
				<view class="between card-item-cen">
					<view class="card-item-cen-left">
						经验不限|学历不限|定期团建|提供住宿|无障碍招聘
					</view>
					<view class="card-item-cen-right">
						6-9K
					</view>
				</view>
				<view class="between card-item-bot">
					<view class="card-item-bot-left align">
						<img src="/static/gongshi.png" alt="" srcset="">
						四川橙蕉文化传媒
					</view>
					<view class="card-item-bot-right">
						双流区 华阳
					</view>
				</view>
			</view>
			
			<view class="card-item">
				<view class="card-item-top">
					(找双休的来)朝九晚六
				</view>
				<view class="between card-item-cen">
					<view class="card-item-cen-left">
						经验不限|大专|周末双休|年终奖|8小时
					</view>
					<view class="card-item-cen-right">
						8-13K
					</view>
				</view>
				<view class="between card-item-bot">
					<view class="card-item-bot-left align">
						<img src="/static/gongshi.png" alt="" srcset="">
						薪仁数科
					</view>
					<view class="card-item-bot-right">
						武侯区 新会展中心
					</view>
				</view>
				
			</view>
			<view class="card-item">
				<view class="card-item-top">
					招5个来后台上班 7500 法定休
				</view>
				<view class="between card-item-cen">
					<view class="card-item-cen-left">
						经验不限|大专|周末双休|年终奖|8小时
					</view>
					<view class="card-item-cen-right">
						7-9K
					</view>
				</view>
				<view class="between card-item-bot">
					<view class="card-item-bot-left align">
						<img src="/static/gongshi.png" alt="" srcset="">
						泰盈科技集团
					</view>
					<view class="card-item-bot-right">
						武侯区 新会展中心
					</view>
				</view>
				
			</view>
			
			
		</view>
	</view>
</template>

<script>
	
	export default {
		data() {
			return {
				
				Inv: 0, 
				
				
				list1: [{
						name: '全职',
					}, {
						name: '兼职',
					}, {
						name: '实习'
					},]
			}
		},
		onLoad() {
	
		},
		methods: {
			goxiangqing(){
				uni.$u.route('/pages/enterprise/details');
			},
			click(a,index){
				this.Inv=index
				console.log(index)
			},
		}
	}
</script>

<style scoped>
	.card{
		padding-left: 20rpx;
		padding-right: 20rpx;
		margin-top: 20rpx;
	}
	.card-item{
		padding: 30rpx;
		box-sizing: border-box;
		background-color: rgb(247, 248, 250);
	}
	.card_top{
		font-size: 35rpx;
		font-weight: bold;
		letter-spacing: 3rpx;
	}
	.carddiv{
		margin-top: 20rpx;
	}
	.card_top_font{
		margin-left: 10rpx;
	}
	.card_top img{
		width: 35rpx;
		height: 35rpx;
	}
	.card_bot{
		margin-top: 20rpx;
		font-size: 24rpx;
		color: rgb(139,146,173);
	}
	.card-item{
		margin-bottom: 20rpx;
	}
	.card-item-bot-left img{
		width: 50rpx;
		height: 50rpx;
	}
	.card-item-top{
		font-weight: bold;
		margin-bottom: 20rpx;
	}
	.card-item-cen{
		margin-bottom: 20rpx;
	}
	.card-item-bot{
		margin-bottom: 20rpx;
	}
	.card-item-cen-left{
		color: rgb(164 164, 164);
	}
	.card-item-cen-right{
		color: rgb(71 119, 201);
		font-size: 18px;
	}
	.card-item-bot-left{
		font-weight: bold;
	}
	.card-item-bot-right{
		color: rgb(106 108, 107);
	}
	.top_bot_div{
		border: 1px solid #000;
		border-radius: 10rpx;
		font-size: 14px;
		width: 80rpx;
		height: 40rpx;
		margin-left: 30rpx;
	}
	.top_bot{
		padding-left: 40rpx;
		padding-right: 40rpx;
		box-sizing: border-box;
	}
	.top_bot_left{
		font-size: 14px;
	}
	.top{
		padding-left: 40rpx;
		padding-right: 40rpx;
		box-sizing: border-box;
	}
	.shous img{
		width: 40rpx;
		height: 40rpx;
		margin-left: 60rpx;
	}
	.xueshengbut{
		border: 1px solid #000;
		border-radius: 10rpx;
		font-size: 14px;
		width: 110rpx;
		height: 40rpx;
	}
	.select{
		
		
		height: 90rpx;
		display: flex;
		
		overflow-x: auto;
		width: 100%;
		background-color: #fff;
		
	}
	.cont-item{
		padding: 20rpx;
		box-sizing: border-box;
	}
	.select-item {
			font-size: 32upx;
			padding-left: 10rpx;
			padding-right: 10rpx;
			text-align: center;
			color: #3D3D3D;
			height: 70upx;
			line-height: 70upx;
			flex-shrink: 0;
		}
	.select-act {
			position:relative;
			z-index: 1;
			font-size:32rpx;
			color: #489BA0;
		}
	.select-act:before {
			content: '';
			width: 50%;
			height: 6rpx;
			background:#489BA0;
			position: absolute;
			bottom: 6rpx;
			left: 50%;
			z-index: -1;	
			transform: translateX(-50%);
		}
</style>